Home / DeveloperSection / Interviews / Can “this” be used within a static method?
You haven’t finished your post yet. Are you sure you want to leave and discard your draft?
Can you answer this question?
Sumit Kesarwani
No “This” cannot be used in a static method. As only static variables/methods can be used in a static method.
You have need login or register for voting of answers or question.
Sumit Kesarwani
13-Nov-2013No “This” cannot be used in a static method. As only static variables/methods can be used in a static method.